com.justhis.control
Class ViewHelper

java.lang.Object
  extended bycom.justhis.control.ViewHelper

public class ViewHelper
extends java.lang.Object

A singleton class that creates commands using the command mapping property file.

Version:
$Revision: 1.1 $
Author:
acai

Method Summary
static Command getCommand(java.lang.String action)
          Create a Command instance for the specified action or command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCommand

public static Command getCommand(java.lang.String action)
                          throws com.justhis.util.exception.PropertiesFileReadException,
                                 com.justhis.util.exception.JavaClassRefectException
Create a Command instance for the specified action or command.

Parameters:
action - the name of the command
Returns:
Command or null if the command could not be created
Throws:
com.justhis.util.exception.PropertiesFileReadException
com.justhis.util.exception.JavaClassRefectException


Copyright © 2003 EastNetworks.Net(China)Co.,Ltd.. All Rights Reserved.